func go/types.inNode
16 uses
go/types (current package)
call.go#L39: instErrPos = inNode(ix.orig, ix.lbrack)
call.go#L206: check.errorf(inNode(call, call.Rparen), WrongArgCount, "missing argument in conversion to %s", T)
call.go#L486: check.errorf(inNode(call, call.Ellipsis), InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.Args[0])
call.go#L513: check.errorf(inNode(call, call.Ellipsis), NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
call.go#L552: check.versionErrorf(inNode(call.Fun, ix.lbrack), go1_18, "function instantiation")
call.go#L554: check.versionErrorf(inNode(call, call.Lparen), go1_18, "implicit function instantiation")
errors.go#L283: func inNode(node ast.Node, pos token.Pos) posSpan {
index.go#L320: check.error(inNode(e, e.Rbrack), InvalidSyntaxTree, "2nd and 3rd index required in 3-index slice")
literals.go#L226: check.errorf(inNode(e, e.Rbrace), InvalidStructLit, "too few values in struct literal of type %s", base)
stmt.go#L471: if elem := check.chanElem(inNode(s, s.Arrow), &ch, false); elem != nil {
stmt.go#L483: check.errorf(inNode(s, s.TokPos), InvalidSyntaxTree, "unknown inc/dec operation %s", s.Tok)
stmt.go#L512: check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs)
stmt.go#L521: check.errorf(inNode(s, s.TokPos), MultiValAssignOp, "assignment operation %s requires single-valued expressions", s.Tok)
stmt.go#L858: check.rangeStmt(inner, s, inNode(s, s.TokPos), s.Key, s.Value, nil, s.X, s.Tok == token.DEFINE)
typexpr.go#L292: check.verifyVersionf(inNode(e, ix.lbrack), go1_18, "type instantiation")
util.go#L47: func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }